package cn.gotom.pinggu.pojos;


import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import cn.gotom.core.pojos.BaseEntity;
import cn.gotom.core.pojos.User;

/**
 * 
 * 数据查询比对表
 * 
 * @author peixere@qq.com
 * 
 * @version 2012-12-03
 * 
 */
@Entity
@Table()
public class Sjbdb extends BaseEntity implements Serializable
{
	private static final long serialVersionUID = 1L;

	/**
	 * 纳税人代码
	 */
	@Column(length = 50)
	private String nsrdm;
	
	/**
	 * 纳税人名称
	 */
	@Column(length = 500)
	private String nsrmc;
	
	/**
	 * 身份识别号/组织机构代码
	 */
	@Column(length = 50)
	private String zzjgdm;
	
	/**
	 * 法人代表
	 */
	@Column(length = 100)
	private String fddbr;
	 
	/**
	 * 经营地址
	 */
	@Column(length = 100)
	private String jydz;
	 
	/**
	 * 邮编
	 */
	@Column(length = 50)
	private String yzbm;
	 
	/**
	 * 联系电话
	 */
	@Column(length = 50)
	private String lxdh;
	
	/**
	 * 税管员
	 */
	@Column(length = 100)
	private String sgy;
	
	/**
	 * 办税员
	 */
	@Column(length = 100)
	private String bsy;

	/**
	 * 创建人
	 */
	@JoinColumn(name = "user_id", referencedColumnName = "id")
	@ManyToOne	
	private User user;

	public String getNsrdm()
	{
		return nsrdm;
	}

	public void setNsrdm(String nsrdm)
	{
		this.nsrdm = nsrdm;
	}

	public String getNsrmc()
	{
		return nsrmc;
	}

	public void setNsrmc(String nsrmc)
	{
		this.nsrmc = nsrmc;
	}
	
	public String getZzjgdm()
	{
		return zzjgdm;
	}
	
	public void setZzjgdm(String zzjgdm)
	{
		this.zzjgdm = zzjgdm;
	}
	
	public String getFddbr()
	{
		return fddbr;
	}
	
	public void setFddbr(String fddbr)
	{
		this.fddbr = fddbr;
	}
	
	public String getJydz()
	{
		return jydz;
	}
	
	public void setJydz(String jydz)
	{
		this.jydz = jydz;
	}
	
	public String getYzbm()
	{
		return yzbm;
	}
	
	public void setYzbm(String yzbm)
	{
		this.yzbm = yzbm;
	}
	
	public String getLxdh()
	{
		return lxdh;
	}
	
	public void setLxdh(String lxdh)
	{
		this.lxdh = lxdh;
	}

	public String getSgy()
	{
		return sgy;
	}

	public void setSgy(String sgy)
	{
		this.sgy = sgy;
	}

	public String getBsy()
	{
		return bsy;
	}

	public void setBsy(String bsy)
	{
		this.bsy = bsy;
	}

	public User getUser()
	{
		return user;
	}

	public void setUser(User user)
	{
		this.user = user;
	}
}